package org.xsk.structure.linked;

import lombok.Data;

@Data
public class GoodsNode {

    private int id;
    private double price;
    private String name;

    public GoodsNode next;

    public GoodsNode(int id, double price, String name) {
        this.id = id;
        this.price = price;
        this.name = name;
    }
}
